function defaultValue(data){
  var  defaultValuelist =[
    {
     lable:"mysql",
     jdbcvalue:'jdbc:mysql://{host}:{port}/{database}',
     jdbctype:'com.mysql.jdbc.Driver'
    },
    {
      lable:"oracle",
      jdbcvalue:'jdbc:oracle:thin:@//{host}:{port}/{database}',
      jdbctype:'oracle.jdbc.OracleDriver'
    },
    {
      lable:"postgresql",
      jdbcvalue:'jdbc:postgresql://{host}:{port}/{database}',
      jdbctype:'org.postgresql.Driver'
    },
    {
      lable:"sqlserver",
      jdbcvalue:'jdbc:sqlserver://{host}:{port};DatabaseName={database}',
      jdbctype:'com.microsoft.sqlserver.jdbc.SQLServerDriver'
    },
    {
      lable:"hive",
      jdbcvalue:'jdbc:hive2://{host}:{port}/{database}',
      jdbctype:'org.apache.hive.jdbc.HiveDriver'
    },
    {
      lable:"mongodb",
      jdbcvalue:'mongodb://[username:password@]host1[:port1][,...hostN[:portN]]][/[database][?options]]',
      jdbctype:''
    },
    {
      lable:"clickhouse",
      jdbcvalue:'jdbc:clickhouse://{host}:{port}/{database}',
      jdbctype:'ru.yandex.clickhouse.ClickHouseDriver'
    }
  ]
  let defaultValue1={}
  defaultValuelist.forEach((item)=>{
    if(data===item.lable){
      defaultValue1= item
    }
  })
  return defaultValue1
}
export default {
  defaultValue
}